<%@ tag body-content="scriptless" language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
		<header id="header">
			<div class="container-fluid">
				<div class="row-fluid">
					<div class="span5 offset1 top-buffer">
						<div class="row-fluid">
							<div class="span4">
								<a href="."><img src="assets/img/logo.png" alt="livWeb Logo"/></a>
							</div>
							<div class="span6">
								<h1>livWeb</h1>
								<p><strong>Sua livraria na web!</strong></p>
							</div>							
						</div>
						
					</div>
					
					<div class="span4 top-buffer">
						<c:if test="${empty funcionario_session.login}">
							<form method="post" action="view/login.do">
								<div class="row-fluid">
			
									<div class="span6">
										<div class="input-prepend">
											<span class="add-on"><i class="icon-envelope"></i></span>
	    									<input class="span12" name="inputEmail" type="text" placeholder="E-mail">
										</div>
										<div class="input-prepend">
											<span class="add-on"><i class="icon-key"></i></span>
	    									<input class="span12" name="inputSenha" type="password" placeholder="Senha">
										</div>
									</div>
			
									<div class="span6 top-buffer3-5 minus-left-buffer-2">
										<div class="control-group">
											<div class="controls">
												<button type="submit" class="btn btn-primary">Login</button>
											</div>
										</div>
									</div>
			
								</div>
							</form>
						</c:if>
						
						<c:if test="${not empty funcionario_session.login}">
							<div class="row-fluid">
								<div class="span6 well">
									<p>Olá, <strong>${funcionario_session.nome}</strong>!</p>
									<p>Se não for você, por favor, faça <a href="view/logout.do" class="confirm">logout</a></p>
								</div>
							</div>
						</c:if>
						
					</div>
				</div>
			</div>
		</header>